package com.yequan.thread.lock.reentrantlock.pc;

public class CThread extends Thread {

    private MyService myService;

    public CThread(MyService myService) {
        this.myService = myService;
    }

    @Override
    public void run() {
        while (true) {
            myService.get();
        }
    }
}
